<template>
  <div class="homeTaskBox">
    <div class="homeTask">
      <article @click="$router.push('/signin')">
        <img src="../assets/imgs/cd.png" alt="" />
        <span>签到</span>
      </article>
      <article @click="$router.push('/roll')">
        <img src="../assets/imgs/cup.png" alt="" />
        <span>礼券</span>
      </article>
      <article @click="$router.push('/bargain')">
        <img src="../assets/imgs/special.png" alt="" />
        <span>砍价</span>
      </article>
      <article @click="$router.push('/strictCard')">
        <img src="../assets/imgs/bargin.png" alt="" />
        <span>专栏</span>
      </article>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {},
  components: {},
};
</script>

<style lang="scss">
.homeTaskBox {
  width: 100%;
  height: 120px;
}
.homeTask {
  height: 190px;
  background-color: rgb(255, 255, 255);
  position: relative;
  bottom: 96px;
  border-radius: 20% 20% 0 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  img {
    width: 83px;
    height: 83px;
  }
  article {
    height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    span {
      font-size: 30px;
    }
  }
}
</style>
